package net.begincode.common.email;

public class EmailConfig {
    private String host;
    private String userName;
    private String password;
    private String fromEmail;
    private String nickName;

    public EmailConfig() {
    }

    public EmailConfig(String host, String userName, String password, String fromEmail) {
        this.host = host;
        this.userName = userName;
        this.password = password;
        this.fromEmail = fromEmail;
        this.nickName = fromEmail;
    }

    public EmailConfig(String host, String userName, String password, String fromEmail, String nickName) {
        this.host = host;
        this.userName = userName;
        this.password = password;
        this.fromEmail = fromEmail;
        this.nickName = nickName;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getFromEmail() {
        return fromEmail;
    }

    public void setFromEmail(String fromEmail) {
        this.fromEmail = fromEmail;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
}
